AT_fnc_ParamsToVar = {
	//Compile params into real variables:
	private["_c","_paramName"];
	_c=count (missionConfigFile/"Params");
	for [ {_i=0}, {_i<_c}, {_i=_i+1} ] do
	{
		_paramName = (configName ((missionConfigFile >> "Params") select _i));
		call compile format["%1 = %2;publicVariable '%1';",_paramName,paramsArray select _i];

	};
};
	
//Compile Params into Variables
call AT_fnc_ParamsToVar;